"""
配置常量文件
@Time: 2020/10/26 9:11
@Author: yb
@File: settings.py
"""

# ----------- 日志器 ------------

import logging

log_formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s -%(module)s:  %(message)s')   # 日志记录的格式化器

fuseki_logger = logging.getLogger('fusekiLogger')  # Fuseki的日志
fuseki_logger.setLevel(logging.DEBUG)

fuseki_file_handler = logging.FileHandler(filename='fuseki_log.log', encoding='utf-8')
fuseki_file_handler.setFormatter(log_formatter)
fuseki_logger.addHandler(fuseki_file_handler)

